package com.khyr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.khyr.entity.User;
import com.khyr.vo.R;
import com.khyr.vo.UserVo;

import java.util.List;

/**
 * @author 宋一恒
 * @version 1.0
 */
public interface UserService {
    R<Page<User>> findUserByCond(UserVo userVo);

    R<Integer> addUser(User user);

    R<Integer> deleteUserByIds(List<Long> ids);

    R<Integer> updateUser(User user);

    R<User> getUserById(Long id);

    R<Integer> resetPwd(List<Long> userIds);

    R<Integer> userPhone(String phone);

    R<Integer> resetPwd1(Long userIds, String password);

    R<String> getdocNameById(Long valueId);
}
